package cn.pn.project.pojo.commodity;


import cn.pn.project.pojo.schedule.Commoditysession;
import cn.pn.project.vo.CommodityVo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

public class Commodity extends CommodityVo implements Serializable {

  private Integer commodityId;
  private Integer typeId;
  private Integer clildTypeId;
  private Integer cityId;
  private String commodityName;
  private java.sql.Timestamp startTime;
  private java.sql.Timestamp endTime;
  private String imgUrl;
  private long star;
  private long status;
  private java.sql.Timestamp putDate;
  private long isSeat;
  private long buyAmount;
  private  String commodityDetails;
  private Integer isDel;
  private Integer ticketInfoId;
  private String more1;
  private String more2;
  private String more3;

  public String getLogistics() {
    return logistics;
  }

  public void setLogistics(String logistics) {
    this.logistics = logistics;
  }

  private String logistics;//配送方式

  public Commodity() {
  }

  public Commodity(Integer commodityId, Integer typeId, Integer clildTypeId, Integer cityId, String commodityName, Timestamp startTime, Timestamp endTime, String imgUrl, long star, long status, Timestamp putDate, long isSeat, long buyAmount, String commodityDetails, Integer isDel, Integer ticketInfoId, String more1, String more2, String more3, List<Sku> skuList, List<Commoditysession> comSessionList) {
    this.commodityId = commodityId;
    this.typeId = typeId;
    this.clildTypeId = clildTypeId;
    this.cityId = cityId;
    this.commodityName = commodityName;
    this.startTime = startTime;
    this.endTime = endTime;
    this.imgUrl = imgUrl;
    this.star = star;
    this.status = status;
    this.putDate = putDate;
    this.isSeat = isSeat;
    this.buyAmount = buyAmount;
    this.commodityDetails = commodityDetails;
    this.isDel = isDel;
    this.ticketInfoId = ticketInfoId;
    this.more1 = more1;
    this.more2 = more2;
    this.more3 = more3;
    this.skuList = skuList;
    ComSessionList = comSessionList;
  }

  private List<Sku> skuList=new ArrayList<Sku>();

  private List<Commoditysession> ComSessionList=new ArrayList<Commoditysession>();

  public List<Commoditysession> getComSessionList() {
    return ComSessionList;
  }

  public void setComSessionList(List<Commoditysession> comSessionList) {
    ComSessionList = comSessionList;
  }



  public List<Sku> getSkuList() {
    return skuList;
  }

  public void setSkuList(List<Sku> skuList) {
    this.skuList = skuList;
  }





  public Integer getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(Integer commodityId) {
    this.commodityId = commodityId;
  }

  public Integer getTypeId() {
    return typeId;
  }

  public void setTypeId(Integer typeId) {
    this.typeId = typeId;
  }

  public Integer getClildTypeId() {
    return clildTypeId;
  }

  public void setClildTypeId(Integer clildTypeId) {
    this.clildTypeId = clildTypeId;
  }

  public Integer getCityId() {
    return cityId;
  }

  public void setCityId(Integer cityId) {
    this.cityId = cityId;
  }


  public String getCommodityName() {
    return commodityName;
  }

  public void setCommodityName(String commodityName) {
    this.commodityName = commodityName;
  }


  public java.sql.Timestamp getStartTime() {
    return startTime;
  }

  public void setStartTime(java.sql.Timestamp startTime) {
    this.startTime = startTime;
  }


  public java.sql.Timestamp getEndTime() {
    return endTime;
  }

  public void setEndTime(java.sql.Timestamp endTime) {
    this.endTime = endTime;
  }


  public String getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(String imgUrl) {
    this.imgUrl = imgUrl;
  }


  public long getStar() {
    return star;
  }

  public void setStar(long star) {
    this.star = star;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }


  public java.sql.Timestamp getPutDate() {
    return putDate;
  }

  public void setPutDate(java.sql.Timestamp putDate) {
    this.putDate = putDate;
  }


  public long getIsSeat() {
    return isSeat;
  }

  public void setIsSeat(long isSeat) {
    this.isSeat = isSeat;
  }


  public long getBuyAmount() {
    return buyAmount;
  }

  public void setBuyAmount(long buyAmount) {
    this.buyAmount = buyAmount;
  }


  public String getCommodityDetails() {
    return commodityDetails;
  }

  public void setCommodityDetails(String commodityDetails) {
    this.commodityDetails = commodityDetails;
  }


  public String getMore1() {
    return more1;
  }

  public void setMore1(String more1) {
    this.more1 = more1;
  }


  public String getMore2() {
    return more2;
  }

  public void setMore2(String more2) {
    this.more2 = more2;
  }


  public String getMore3() {
    return more3;
  }

  public void setMore3(String more3) {
    this.more3 = more3;
  }
  public Integer getTicketInfoId() {
    return ticketInfoId;
  }

  public void setTicketInfoId(Integer ticketInfoId) {
    this.ticketInfoId = ticketInfoId;
  }

  public Integer getIsDel() {
    return isDel;
  }

  public void setIsDel(Integer isDel) {
    this.isDel = isDel;
  }
}
